class LogUtils {
  static bool _isLog = true;
  static String _logFlag = "Flutter-Ho";
  // 初始化日志类
  static void init({bool isLog = false, logFlag = "Flutter-Ho"}) {
    _isLog = isLog;
    _logFlag = logFlag;
  }

  // 打印日志
  static void e(String message) {
    if (_isLog) {
      print("$_logFlag | $message");
    }
  }
}
